<?php
  session_start();
  if(!isset($_SESSION['authorized']))
     header('Location: UnauthorizedUser.php');
  

  if($_SESSION['authorized'] == 0)
     header('Location: UnauthorizedUser.php');  
     
  $userType = $_SESSION['userType'];
  if($userType != 3)
     header('Location: UnauthorizedUser.php');   

?>


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9">
<title>Secretary Operations</title>

</head>

<body>

<?php include 'top.html' ?>

<?php include 'notifier.php' ?>

<p>
<table border="1" id="table1" cellpadding="5">
	<tr>
		<td width="150"><b><font color="#FF0000">Students </font></b></td>
		<td width="230"><b><font color="#FF0000">Courses</font></b></td>
		<td width="200"><b><font color="#FF0000">Instructors</font></b></td>
		<td width="140"><b><font color="#FF0000">Personnel</font></b></td>
		<td width="140"><b><font color="#FF0000">Exams</font></b></td>
	</tr>
	<tr style="margin-left:100px ">
		<td valign="top" style="margin-left:100px " width="170">

		<a href="education/ui/SearchStudent.php">View student details</a></td>
		<td valign="top" width="226">
		<a href="education/ui/ViewCourseEnrollmentNumbers.php">View course enrollment numbers</a></br>
		<a href="education/ui/DefineNewCourse.php">Define new course</a></br>
		<a href="education/ui/ViewDefinedCourses.php">View defined courses</a></br>
		<a href="education/ui/DeleteCourse.php">Delete a defined course</a></br>
		<a href="education/ui/OpenSection.php">Open new section</a></br>
		<a href="education/ui/ViewSections.php">View sections</a></br>
		<a href="education/ui/SelectSection.php">Edit section details</a></br>
		<a href="education/ui/CloseSection.php">Close section</a>
		</td>
		
		<td valign="top" width="220">
		<a href="personnel/ui/ViewInstructorCourse.php">View instructor course details</a></br>
		<a href="personnel/ui/EnterPeriod.php">Enter instructor leave period</a></br>
		<a href="personnel/ui/DeletePeriod.php">Delete instructor leave period</a></br>
		<a href="personnel/ui/ViewLeavePeriods.php">View instructor leave periods</a>
		</td>
		
		<td valign="top" width="160">
		<a href="personnel/ui/AddStaff.php">Add staff </a></br>
		<a href="personnel/ui/SearchStaffforView.php">View staff details </a></br>
		<a href="personnel/ui/SearchStaff.php">Edit staf details</a>
		</td>
		
		<td valign="top" width="170">
		<a href="education/ui/ScheduleExam.php">Schedule a new exam</a></br>
		<a href="education/ui/CancelExam.php">Cancel a scheduled exam</a></br>
		<a href="education/ui/ViewExams.php">View scheduled exams</a>
		</td>
	</tr>
</table>
</p>

</body>

</html>
